package cn.kpt.auth.service;

public interface SmsService {

    // 默认的激活码超时时间  单位(分钟)
    int DEFAULT_ACTIVE_CODE_TIME_OUT = 1;
    String ACTIVE_CODE_KEY_PREFIX = "active:";

    /**
     * 发送短信验证码
     *
     * @throws Exception
     */
    void sendSMS(String phone, String tempId, String[] placeholders) throws Exception;
}
